package com.cj.mobile.iabp.mvp.model.entity;

/**
 * 包名： com.zqw.mobile.recycling.model
 * 对象名： SalesDeliveryEvent
 * 描述：销售送货单监听
 * 作者： wly
 * 邮箱：wangliyang206@163.com
 * 创建日期： 2020/08/24 17:52
 */

public class SalesDeliveryEvent {
    public SalesDeliveryEvent() {
    }

    public SalesDeliveryEvent(int code) {
        this.code = code;
    }

    public SalesDeliveryEvent(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public SalesDeliveryEvent(int code, int position) {
        this.code = code;
        this.position = position;
    }

    public SalesDeliveryEvent(int code, String msg, String orderNo, String salesOrderNo, String outStockNo) {
        this.code = code;
        this.msg = msg;
        this.orderNo = orderNo;
        this.salesOrderNo = salesOrderNo;
        this.outStockNo = outStockNo;
    }

    public SalesDeliveryEvent(int code, String msg, int position) {
        this.code = code;
        this.msg = msg;
        this.position = position;
    }

    public SalesDeliveryEvent(int code, int type, int position) {
        this.code = code;
        this.type = type;
        this.position = position;
    }

    /**
     * 0 = 刷新销售送货单 - 待出库(msg = 1)；
     * 0 = 刷新销售送货单 - 待签收(msg = 2)；
     * 0 = 刷新销售送货单 - 已签收(msg = 3)；
     * 0 = 刷新销售送货单 - 已完成(msg = 4)；
     */
    private int code = 0;
    private String msg = "";
    private String orderNo = "";
    private int position;
    private String salesOrderNo;
    private String outStockNo;
    private int type;

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getSalesOrderNo() {
        return salesOrderNo;
    }

    public void setSalesOrderNo(String salesOrderNo) {
        this.salesOrderNo = salesOrderNo;
    }

    public String getOutStockNo() {
        return outStockNo;
    }

    public void setOutStockNo(String outStockNo) {
        this.outStockNo = outStockNo;
    }

    public int getPosition() {
        return position;
    }

    public void setPosition(int position) {
        this.position = position;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
